﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NoTray.aspx.cs" Inherits="Views_NoTray" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>正贸仓储物流管理系统</title>
    <link href="../CSS/css.css" rel="stylesheet" type="text/css" />
    <script src="../../js/Validate.js"></script>
    <style type="text/css">
        .find td {
            border-bottom: 1px solid #b5d6e6;
            border-right: 1px solid #b5d6e6;
            border-left: 1px solid #b5d6e6;
        }
    </style>
    <script type="text/javascript">
        function showEdit(Lane, Line, Lcol, Lay, Hid) {
            if (document.getElementById('txtSLine').value == "THistory" || document.getElementById('txtSLcol').value == "") {
                document.getElementById('txtSLine').value = Hid;
                document.getElementById('txtSLcol').value = Lcol;
            }
            else if (isNaN(document.getElementById("txtSLine").value) == true || isNaN(document.getElementById("txtSLcol").value) == true) {
                alert('排或列要是数字！');
                return;
            }
            else if (document.getElementById('txtSLine').value != "" && document.getElementById('txtSLcol').value !== "" && document.getElementById('txtELine').value == "" || document.getElementById('txtELcol').value == "") {
                document.getElementById('txtELine').value = Hid;
                document.getElementById('txtELcol').value = Lcol;
            }
            else if (isNaN(document.getElementById("txtELine").value) == true || isNaN(document.getElementById("txtELcol").value) == true) {
                alert('排或列要是数字！');
                return;
            }
            else {
                document.getElementById('txtELine').value = Hid;
                document.getElementById('txtELcol').value = Lcol;
            }

        }
    </script>

    <script type="text/javascript">
        window.onload = function () {
            var a = document.getElementById("loading");
            a.parentNode.removeChild(a);
        }
        document.write('<div id="loading" style="line-height:122px;"><table cellpadding="0" width="100%"><Tr><Td align="center" height="500" valign="middle"><img src="../Images/loading.gif"></td></tr></table></div>');
    </script>

    <script language="javascript">
        var _oldColor;
        function SetNewColor(source) {
            _oldColor = source.style.backgroundColor;
            source.style.backgroundColor = '#FFFF00';

        }
        function SetOldColor(source) {
            source.style.backgroundColor = _oldColor;
        }
    </script>

    <script language="javascript">
        var _oldColor;
        function SetNewColor1(source) {
            _oldColor = source.style.backgroundColor;
            source.style.backgroundColor = '#FFFFFF';

        }
        function SetOldColor(source) {
            source.style.backgroundColor = _oldColor;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="SCM_Storage" runat="server">
            </asp:ScriptManager>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="height: 30px">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="background-image: url(../Images/tab_03.gif); background-repeat: repeat-x; width: 12px;">&nbsp;
                                </td>
                                <td style="background-image: url(../Images/tab_05.gif); background-repeat: repeat-x; height: 30px;">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td style="width: 46%; vertical-align: middle;">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td style="width: 5%; vertical-align: middle;">
                                                            <img src="../Images/tb.gif" width="16" height="16" />
                                                        </td>
                                                        <td style="width: 95%;">
                                                            <span>你当前的位置</span>：视图管理-空盘管理视图
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="54%"></td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="16" style="background-image: url(../Images/tab_07.gif); height: 30px;">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="background-image: url(../Images/tab_12.gif); width: 8px;">&nbsp;
                                </td>
                                <td>
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border: 1px solid #b5d6e6;">
                                                <tr>
                                                    <td style="padding: 2px;">
                                                        <table width="100%" cellspacing="0" cellpadding="0" style="border: 1px solid #b5d6e6;" class="find">
                                                            <tr style="height: 22px;">
                                                                <td style="padding-left: 2px;" class="style1">开始坐标：<asp:TextBox ID="txtSLine" runat="server" Width="30px" Height="14px"></asp:TextBox>--
                                                                <asp:TextBox ID="txtSLcol" runat="server" Width="30px" Height="14px"></asp:TextBox>--
                                                                结束坐标：<asp:TextBox ID="txtELine" runat="server" Width="30px" Height="14px"></asp:TextBox>--
                                                                <asp:TextBox ID="txtELcol" runat="server" Width="30px" Height="14px"></asp:TextBox>
                                                                    <asp:Label ID="lblPos_ID" runat="server"></asp:Label>
                                                                </td>
                                                                <td valign="middle">
                                                                    <asp:ImageButton ID="ibtnSelect" runat="server" ImageUrl="~/Images/Selected.gif"
                                                                        Width="65" OnClick="ibtnSelect_Click" />
                                                                    <asp:ImageButton ID="ibtnReset" runat="server" ImageUrl="~/Images/btn/btn_Reset.gif"
                                                                        Width="65" OnClick="ibtnReset_Click" />
                                                                    <%--<asp:ImageButton ID="ibtn_Allout" runat="server" ImageUrl="~/Images/btn/btn_Reset.gif"
                                                                    Width="65" OnClick="ibtnReset_Click" />
                                                                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/btn/btn_Reset.gif"
                                                                    Width="65" OnClick="ibtnReset_Click" />--%>
                                                                </td>
                                                                <td style="width: 10%" align="right">巷道选择：
                                                                </td>
                                                                <td style="width: 10%; padding-left: 2px;">
                                                                    <asp:DropDownList ID="ddlNo_Lane" runat="server" OnSelectedIndexChanged="ddlNo_Lane_SelectedIndexChanged"
                                                                        AutoPostBack="true">
                                                                    </asp:DropDownList>
                                                                </td>
                                                                 <td align="right" class="style5">列：
                                                                </td>
                                                                <td style="padding-left: 2px;">
                                                                    <asp:DropDownList ID="ddlNo_Col" runat="server"
                                                                        AutoPostBack="true" OnSelectedIndexChanged="ddlNo_Col_SelectedIndexChanged">
                                                                        <asp:ListItem Value="1">2-60</asp:ListItem>
                                                                        <asp:ListItem Value="2">61-119</asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td height="30" align="right" style="padding-right: 8px;" colspan="2">
                                                                    <font color="#ff0000"><b>
                                                                        <asp:Label ID="lab_Msg" runat="server"></asp:Label></b></font>
                                                                    <%--<asp:DropDownList ID="ddlSQLIDE" runat="server" DataTextField="SQIDE" DataValueField="SQIDE">--%>
                                                                 
                                                                &nbsp;&nbsp;
                                                                <asp:ImageButton ID="ibtnAddKongpan" runat="server" ImageUrl="~/Images/btn/btnAddkong.gif"
                                                                    Width="90" OnClick="ibtnAddKongpan_Click" />&nbsp;
                                                                <asp:ImageButton ID="ibtnDelKongpan" runat="server" ImageUrl="~/Images/btn/btndelkong.gif"
                                                                    Width="90" OnClick="ibtnDelKongpan_Click" />&nbsp;
                                                                <asp:ImageButton ID="ibtnOutSpaceTray" runat="server" ImageUrl="~/Images/btn/btn_OutSpaceTray.gif"
                                                                    Width="110" OnClick="ibtnOutSpaceTray_Click" Style="height: 20px" />
                                                                </td>
                                                                <td style="width: 10%" align="right">选择出口号：
                                                                </td>
                                                                <td>
                                                                    <asp:DropDownList ID="ddlSQLIDE" runat="server">
                                                                        <asp:ListItem Selected="True" Value="0">自动获取</asp:ListItem>
                                                                        <%--<asp:ListItem Selected="True" Value="0"></asp:ListItem>--%>
                                                                        <%--<asp:ListItem Value="1013">1#输送机口（1013）</asp:ListItem>
                                                                      <asp:ListItem Value="1084">2#输送机口（1084）</asp:ListItem>--%>
                                                                    </asp:DropDownList>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td style="padding-left: 2px; padding-right: 2px;">
                                                        <asp:UpdatePanel ID="UpdateP" runat="server" UpdateMode="Conditional">
                                                            <ContentTemplate>
                                                                <table cellpadding="0" cellspacing="0" width="100%" border="0" id="tab1">
                                                                    <tr>
                                                                        <td style="padding: 2px;"></td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td style="padding: 2px; text-align: center;">
                                                                            <div style="margin-left: 0px; margin-top: 3px; width: 100%; height: 438px; overflow-x: auto; overflow-y: auto;">
                                                                                <asp:GridView ID="GV" runat="server" Width="100%" BorderWidth="1px" BorderColor="#B5D6E6"
                                                                                    CellPadding="0" CellSpacing="0" OnRowDataBound="GV_RowDataBound">
                                                                                    <HeaderStyle HorizontalAlign="Center" CssClass="gvHeader" Font-Bold="true" Height="30px" />
                                                                                    <RowStyle CssClass="gridviewRow" HorizontalAlign="Center" Height="25px" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                                <td style="background-image: url(../Images/tab_15.gif); width: 8px;">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="background-image: url(../Images/tab_19.gif); height: 35px;">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="width: 12px; height: 35px;">
                                    <img src="../Images/tab_18.gif" width="12" height="35" />
                                </td>
                                <td>&nbsp;
                                </td>
                                <td width="16">
                                    <img src="../Images/tab_20.gif" width="16" height="35" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
